package com.smartrodin.springbootrabbitmq.util;

/**
 * @author: arnold_nie
 * @date: 2020/7/14 15:57
 * FileName: Constant
 * Description: 常量
 */
public class Constant {

    /**
     * mq 发送消息记录  redis key
     */
    public static final String MESSAGE_SEND_MQ = "message:send:mq:";

    /**
     * 交换机
     */
    public static final String PUSH_DATA_TOPIC_EXCHANGE = "push.data.exchange";

    /**
     * 路由模式 交换机
     */
    public static final String PUSH_DATA_DIRECT_EXCHANGE = "push.data.direct.exchange";

    /**
     * 发布/订阅模式（类似广播） 交换机
     */
    public static final String PUSH_DATA_FANOUT_EXCHANGE = "push.data.fanout.exchange";

    /**
     * 消息发送类型
     */
    public static final String MSG_SEND_TYPE = "msgSendType";

    public static final Integer NUMBER_ZORE = 0;

    public static final Integer NUMBER_ONE = 1;

    /**
     * 推送信用订单支付状态
     */
    public static final String QUEUE_PUSH_ORDER_PAY_STATUS = "queue_push_order_pay_status";

    /**
     * 推送订单折扣
     */
    public static final String QUEUE_PUSH_ORDER_SINGLE_DISCOUNT = "queue_push_order_single_discount";

    /**
     * 推送用户注册
     */
    public static final String QUEUE_PUSH_USER_REGISTER = "queue_push_user_register";

    /**
     * 推送订单支付成功
     */
    public static final String QUEUE_PUSH_ORDER_PAY_SUCCESS = "queue_push_order_pay_success";

    /**
     * 推送用户注册赠送积分队列
     */
    public static final String QUEUE_PUSH_INTEGRAL = "queue_push_integral";

    /**
     * 推送用户注册赠送优惠券队列
     */
    public static final String QUEUE_PUSH_COUPON = "queue_push_coupon";

}
